package com.atung.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("BusRoutPublish")
public class BusRoutPublish implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8172370718902758319L;

	@ApiModelProperty(value="")
	private Long id;
	
	@ApiModelProperty(value="路线id")
	private Long routId;
	
	@ApiModelProperty(value="出发地")
	private String departlName;
	
	@ApiModelProperty(value="目的地")
	private String destination;
	
	@ApiModelProperty(value="最大乘载人数")
	private Integer carMaxRideNumber;
	
	@ApiModelProperty(value="车票单价")
	private BigDecimal carRidPrice;
	
	@ApiModelProperty(value="最小乘载人数")
	private Integer carLeastRideNumber;
	
	@ApiModelProperty(value="当前报名人数")
	private Integer carCurrentNumber;
	
	
	@ApiModelProperty(value="自动分配人数")
	private Integer allocationNumber;
	
	@ApiModelProperty(value="路线状态（601 已取消 600可报名666已发车）")
	private Integer routPublishState;
	
	@ApiModelProperty(value="截止时间")
	private LocalDateTime expirationDate;
	
	@ApiModelProperty(value="出发时间")
	private LocalDateTime startData;
	
	@ApiModelProperty(value="是否删除（0正常1删除）",example="0")
	private Integer isDelect;
	
	@ApiModelProperty("创建时间）")
	private LocalDateTime creationTime;
	
	@ApiModelProperty("修改时间")
	private LocalDateTime modificationTime;
}
